<?php
namespace app\common\model;

use think\Model;
use \think\Validate;
use \think\Request;

class AuthRecord extends Model
{
    protected function scopeRuleValue($query,$auth_id)
    {
        $a = $query->where('auth_id',$auth_id)->where('body_id',session('body_id'))->field('body_id,rule_value,id,data');
    }
}